package com.xian.yoga.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * student
 * @author 
 */
public class Student implements Serializable {
    private Integer studentId;

    private Integer usersId;

    private String studentName;

    private String studentSex;

    private String studentCard;

    private String studentEmail;

    private String studentProvice;

    private String studentCity;

    private String studentArea;

    private String studentPhone;

    private String studentImg;

    private String studentLongitude;

    private String studentLatitude;

    private Date studentBirthday;

    private String studentStatus;

    private String studentAddress;

    private String studentIntroduction;

    private String studentIsopen;

    private BigDecimal studentBalance;

    private String studentVip;

    private static final long serialVersionUID = 1L;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getUsersId() {
        return usersId;
    }

    public void setUsersId(Integer usersId) {
        this.usersId = usersId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentSex() {
        return studentSex;
    }

    public void setStudentSex(String studentSex) {
        this.studentSex = studentSex;
    }

    public String getStudentCard() {
        return studentCard;
    }

    public void setStudentCard(String studentCard) {
        this.studentCard = studentCard;
    }

    public String getStudentEmail() {
        return studentEmail;
    }

    public void setStudentEmail(String studentEmail) {
        this.studentEmail = studentEmail;
    }

    public String getStudentProvice() {
        return studentProvice;
    }

    public void setStudentProvice(String studentProvice) {
        this.studentProvice = studentProvice;
    }

    public String getStudentCity() {
        return studentCity;
    }

    public void setStudentCity(String studentCity) {
        this.studentCity = studentCity;
    }

    public String getStudentArea() {
        return studentArea;
    }

    public void setStudentArea(String studentArea) {
        this.studentArea = studentArea;
    }

    public String getStudentPhone() {
        return studentPhone;
    }

    public void setStudentPhone(String studentPhone) {
        this.studentPhone = studentPhone;
    }

    public String getStudentImg() {
        return studentImg;
    }

    public void setStudentImg(String studentImg) {
        this.studentImg = studentImg;
    }

    public String getStudentLongitude() {
        return studentLongitude;
    }

    public void setStudentLongitude(String studentLongitude) {
        this.studentLongitude = studentLongitude;
    }

    public String getStudentLatitude() {
        return studentLatitude;
    }

    public void setStudentLatitude(String studentLatitude) {
        this.studentLatitude = studentLatitude;
    }

    public Date getStudentBirthday() {
        return studentBirthday;
    }

    public void setStudentBirthday(Date studentBirthday) {
        this.studentBirthday = studentBirthday;
    }

    public String getStudentStatus() {
        return studentStatus;
    }

    public void setStudentStatus(String studentStatus) {
        this.studentStatus = studentStatus;
    }

    public String getStudentAddress() {
        return studentAddress;
    }

    public void setStudentAddress(String studentAddress) {
        this.studentAddress = studentAddress;
    }

    public String getStudentIntroduction() {
        return studentIntroduction;
    }

    public void setStudentIntroduction(String studentIntroduction) {
        this.studentIntroduction = studentIntroduction;
    }

    public String getStudentIsopen() {
        return studentIsopen;
    }

    public void setStudentIsopen(String studentIsopen) {
        this.studentIsopen = studentIsopen;
    }

    public BigDecimal getStudentBalance() {
        return studentBalance;
    }

    public void setStudentBalance(BigDecimal studentBalance) {
        this.studentBalance = studentBalance;
    }

    public String getStudentVip() {
        return studentVip;
    }

    public void setStudentVip(String studentVip) {
        this.studentVip = studentVip;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Student other = (Student) that;
        return (this.getStudentId() == null ? other.getStudentId() == null : this.getStudentId().equals(other.getStudentId()))
            && (this.getUsersId() == null ? other.getUsersId() == null : this.getUsersId().equals(other.getUsersId()))
            && (this.getStudentName() == null ? other.getStudentName() == null : this.getStudentName().equals(other.getStudentName()))
            && (this.getStudentSex() == null ? other.getStudentSex() == null : this.getStudentSex().equals(other.getStudentSex()))
            && (this.getStudentCard() == null ? other.getStudentCard() == null : this.getStudentCard().equals(other.getStudentCard()))
            && (this.getStudentEmail() == null ? other.getStudentEmail() == null : this.getStudentEmail().equals(other.getStudentEmail()))
            && (this.getStudentProvice() == null ? other.getStudentProvice() == null : this.getStudentProvice().equals(other.getStudentProvice()))
            && (this.getStudentCity() == null ? other.getStudentCity() == null : this.getStudentCity().equals(other.getStudentCity()))
            && (this.getStudentArea() == null ? other.getStudentArea() == null : this.getStudentArea().equals(other.getStudentArea()))
            && (this.getStudentPhone() == null ? other.getStudentPhone() == null : this.getStudentPhone().equals(other.getStudentPhone()))
            && (this.getStudentImg() == null ? other.getStudentImg() == null : this.getStudentImg().equals(other.getStudentImg()))
            && (this.getStudentLongitude() == null ? other.getStudentLongitude() == null : this.getStudentLongitude().equals(other.getStudentLongitude()))
            && (this.getStudentLatitude() == null ? other.getStudentLatitude() == null : this.getStudentLatitude().equals(other.getStudentLatitude()))
            && (this.getStudentBirthday() == null ? other.getStudentBirthday() == null : this.getStudentBirthday().equals(other.getStudentBirthday()))
            && (this.getStudentStatus() == null ? other.getStudentStatus() == null : this.getStudentStatus().equals(other.getStudentStatus()))
            && (this.getStudentAddress() == null ? other.getStudentAddress() == null : this.getStudentAddress().equals(other.getStudentAddress()))
            && (this.getStudentIntroduction() == null ? other.getStudentIntroduction() == null : this.getStudentIntroduction().equals(other.getStudentIntroduction()))
            && (this.getStudentIsopen() == null ? other.getStudentIsopen() == null : this.getStudentIsopen().equals(other.getStudentIsopen()))
            && (this.getStudentBalance() == null ? other.getStudentBalance() == null : this.getStudentBalance().equals(other.getStudentBalance()))
            && (this.getStudentVip() == null ? other.getStudentVip() == null : this.getStudentVip().equals(other.getStudentVip()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getStudentId() == null) ? 0 : getStudentId().hashCode());
        result = prime * result + ((getUsersId() == null) ? 0 : getUsersId().hashCode());
        result = prime * result + ((getStudentName() == null) ? 0 : getStudentName().hashCode());
        result = prime * result + ((getStudentSex() == null) ? 0 : getStudentSex().hashCode());
        result = prime * result + ((getStudentCard() == null) ? 0 : getStudentCard().hashCode());
        result = prime * result + ((getStudentEmail() == null) ? 0 : getStudentEmail().hashCode());
        result = prime * result + ((getStudentProvice() == null) ? 0 : getStudentProvice().hashCode());
        result = prime * result + ((getStudentCity() == null) ? 0 : getStudentCity().hashCode());
        result = prime * result + ((getStudentArea() == null) ? 0 : getStudentArea().hashCode());
        result = prime * result + ((getStudentPhone() == null) ? 0 : getStudentPhone().hashCode());
        result = prime * result + ((getStudentImg() == null) ? 0 : getStudentImg().hashCode());
        result = prime * result + ((getStudentLongitude() == null) ? 0 : getStudentLongitude().hashCode());
        result = prime * result + ((getStudentLatitude() == null) ? 0 : getStudentLatitude().hashCode());
        result = prime * result + ((getStudentBirthday() == null) ? 0 : getStudentBirthday().hashCode());
        result = prime * result + ((getStudentStatus() == null) ? 0 : getStudentStatus().hashCode());
        result = prime * result + ((getStudentAddress() == null) ? 0 : getStudentAddress().hashCode());
        result = prime * result + ((getStudentIntroduction() == null) ? 0 : getStudentIntroduction().hashCode());
        result = prime * result + ((getStudentIsopen() == null) ? 0 : getStudentIsopen().hashCode());
        result = prime * result + ((getStudentBalance() == null) ? 0 : getStudentBalance().hashCode());
        result = prime * result + ((getStudentVip() == null) ? 0 : getStudentVip().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", studentId=").append(studentId);
        sb.append(", usersId=").append(usersId);
        sb.append(", studentName=").append(studentName);
        sb.append(", studentSex=").append(studentSex);
        sb.append(", studentCard=").append(studentCard);
        sb.append(", studentEmail=").append(studentEmail);
        sb.append(", studentProvice=").append(studentProvice);
        sb.append(", studentCity=").append(studentCity);
        sb.append(", studentArea=").append(studentArea);
        sb.append(", studentPhone=").append(studentPhone);
        sb.append(", studentImg=").append(studentImg);
        sb.append(", studentLongitude=").append(studentLongitude);
        sb.append(", studentLatitude=").append(studentLatitude);
        sb.append(", studentBirthday=").append(studentBirthday);
        sb.append(", studentStatus=").append(studentStatus);
        sb.append(", studentAddress=").append(studentAddress);
        sb.append(", studentIntroduction=").append(studentIntroduction);
        sb.append(", studentIsopen=").append(studentIsopen);
        sb.append(", studentBalance=").append(studentBalance);
        sb.append(", studentVip=").append(studentVip);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}